<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery点击控制gif动态图片播放暂停代码演示_大头网</title>

<link type="text/css" rel="stylesheet" href="css/reset.css" />
<link type="text/css" rel="stylesheet" href="css/examples.css" />

<!--必要样式-->
<link type="text/css" rel="stylesheet" href="css/gifplayer.css" />

</head>
<body>

<center>
<!-- 代码 开始 -->
<main class = "main options">

	<section><img id="banana" src="img/banana.png" data-gif="img/banana-animated.gif" class="gifs"/><br></section>

	<section>    
		<img id="cheetah" src="img/cheetah.png" class="gifs"/><br>
		<img id="mario" src="img/mario.png" class="gifs"/>
	</section>

</main>
</center>

<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery.gifplayer.js"></script>
<script type="text/javascript">
$(document).ready( function(){
	$('.gifs').gifplayer();
});
</script>
<!-- 代码 结束 -->

<div style="text-align:center;margin:10px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>来源：<a href="http://www.datouwang.com/" target="_blank">大头网</a></p>
<p>转载请注明出处，此代码仅供学习交流，请勿用于商业用途。</p>
<p><script src="http://www.datouwang.com/img/js/demo_ad.js"></script><center style="display:none"><script src="http://www.datouwang.com/img/js/demo_tj.js"></script></center></p>
</div>

</body>
</html>